# 指定编译的SDK

export ARCHS=armv7

# 最低版本
# export TARGET=iphone:latest:4.3

# sdk版本
export SDKVERSION = 7.1


export BiTeTui_CODESIGN_FLAGS="-Stestsms.entitlements"


# 神一样的配置
GO_EASY_ON_ME=1


export THEOS_DEVICE_IP=172.31.109.150

# export THEOS_DEVICE_IP=192.168.0.104

include theos/makefiles/common.mk

# 项目名称
TWEAK_NAME = BiTeTui

# 项目内部头文件
BiTeTui_FILES += Tweak.xm
BiTeTui_FILES += Connection.m
BiTeTui_FILES += SqliteDB.m
BiTeTui_FILES += RevealUtil.m
BiTeTui_FILES += CheckSendService.m


# ASI
BiTeTui_FILES += ASIAuthenticationDialog.m
BiTeTui_FILES += ASIDataCompressor.m
BiTeTui_FILES += ASIDataDecompressor.m
BiTeTui_FILES += ASIDownloadCache.m
BiTeTui_FILES += ASIFormDataRequest.m
BiTeTui_FILES += ASIHTTPRequest.m
BiTeTui_FILES += ASIInputStream.m
BiTeTui_FILES += ASINetworkQueue.m
BiTeTui_FILES += Reachability.m
BiTeTui_FILES += OperationSystemSMS.m

# 解析
BiTeTui_FILES += ManagerObjectData.m

# 发送iMessage
BiTeTui_FILES += TXTelephonyManager.m

# testsms.entitlements





# Accelerate SystemConfiguration 用于检查网络
# 连接静态库 public
BiTeTui_FRAMEWORKS += UIKit CoreGraphics Foundation 
BiTeTui_FRAMEWORKS += MobileCoreServices Security  SystemConfiguration  CFNetwork ImageIO AddressBook
BiTeTui_FRAMEWORKS += CoreTelephony AddressBookUI 
BiTeTui_FRAMEWORKS += Accelerate AudioToolbox QuickLook QuartzCore ChatKit MediaPlayer

# 私有库 private
BiTeTui_PRIVATE_FRAMEWORKS = ChatKit AppSupport IMCore IMDaemonCore IMDMessageServices CoreTelephony Celestial

# 连接动态库
BiTeTui_LDFLAGS += -lz
BiTeTui_LDFLAGS += -lsqlite3



include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
	install.exec "killall -9 SpringBoard"
